package models;

import java.util.Comparator;

public class OrderObjectsByCount implements Comparator<ObjectWithCount>{

	@Override
	public int compare(ObjectWithCount o1, ObjectWithCount o2) {
		return new Integer(o1.count).compareTo(new Integer(o2.count));
	}


}
